package com.gjintel.auction.business.service.serviceImpl;

import com.gjintel.auction.business.dao.IDicStatusDao;
import com.gjintel.auction.business.model.DicStatus;
import com.gjintel.auction.business.service.IDicStatusService;
import com.gjintel.sdk.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by Administrator on 2017/11/24.
 */
@Service
public class DicStatusServiceImpl extends BaseServiceImpl implements IDicStatusService {

    @Resource
    private IDicStatusDao dicStatusDao;

    @Override
    public DicStatus findOneByCode(String code) {
        return dicStatusDao.findOneByCode(code);
    }
}
